package com.ylsk.check.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ylsk.common.core.domain.MybatisPlusBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ylsk.common.annotation.Excel;
import com.ylsk.common.core.domain.BaseEntity;

/**
 * 施工检查问题对象 ins_check_problem
 *
 * @author yangsy
 * @date 2023-12-21
 */
@TableName("ins_check_problem")
public class CheckProblem extends MybatisPlusBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 施工检查问题id */
    @TableId
    private Long checkProblemId;

    /** 施工检查记录id */
    @Excel(name = "施工检查记录id")
    private Long checkRecordId;

    /** 问题流水单号 */
    @Excel(name = "问题流水单号")
    private String checkProblemNum;

    /** 问题类型 */
    @Excel(name = "问题类型")
    private Integer problenType;

    /** 问题内容 */
    @Excel(name = "问题内容")
    private String problemContent;

    /** 负责人 */
    @Excel(name = "负责人")
    private Long head;

    /** 问题状态(0 :未提交整改单子（待整改） 1:已提交整改单子（待复查） ) */
    private Integer problemStatus;

    public void setCheckProblemId(Long checkProblemId)
    {
        this.checkProblemId = checkProblemId;
    }

    public Long getCheckProblemId()
    {
        return checkProblemId;
    }
    public void setCheckRecordId(Long checkRecordId)
    {
        this.checkRecordId = checkRecordId;
    }

    public Long getCheckRecordId()
    {
        return checkRecordId;
    }
    public void setCheckProblemNum(String checkProblemNum)
    {
        this.checkProblemNum = checkProblemNum;
    }

    public String getCheckProblemNum()
    {
        return checkProblemNum;
    }
    public void setProblenType(Integer problenType)
    {
        this.problenType = problenType;
    }

    public Integer getProblenType()
    {
        return problenType;
    }
    public void setProblemContent(String problemContent)
    {
        this.problemContent = problemContent;
    }

    public String getProblemContent()
    {
        return problemContent;
    }
    public void setHead(Long head)
    {
        this.head = head;
    }

    public Long getHead()
    {
        return head;
    }
    public void setProblemStatus(Integer problemStatus)
    {
        this.problemStatus = problemStatus;
    }

    public Integer getProblemStatus()
    {
        return problemStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("checkProblemId", getCheckProblemId())
            .append("checkRecordId", getCheckRecordId())
            .append("checkProblemNum", getCheckProblemNum())
            .append("problenType", getProblenType())
            .append("problemContent", getProblemContent())
            .append("head", getHead())
            .append("problemStatus", getProblemStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
